package org.gnomus.util;

import java.io.File;
import java.security.AccessControlException;

public class io {
    public static boolean exists(File f) {
        try {
            return f.exists();
        } catch (AccessControlException x) {
            return false;
        }
    }

    public static boolean isDirectory(File f) {
        try {
            return f.isDirectory();
        } catch (AccessControlException x) {
            return false;
        }
    }
}
